1.2.2.10. alpha.core.SizeofPtr (C)
Warn about unintended use of sizeof() on pointer expressions.

Examples:

struct s {};

int test(struct s *p) {
  return sizeof(p);
    // warn: sizeof(ptr) can produce an unexpected result
}